package com.epoint.mybatispluslearning.inspection.entity;

import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 纪宽豪
 * @since 2021-08-31
 */
public class Inspection implements Serializable {

    private static final long serialVersionUID = 1L;

      private String rowguid;

    private String projectguid;

    private String name;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdate;

    @Version
    private Integer version;

    @TableLogic
    private Integer isdel;


    public String getRowguid() {
        return rowguid;
    }

    public void setRowguid(String rowguid) {
        this.rowguid = rowguid;
    }

    public String getProjectguid() {
        return projectguid;
    }

    public void setProjectguid(String projectguid) {
        this.projectguid = projectguid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getCreatedate() {
        return createdate;
    }

    public void setCreatedate(LocalDateTime createdate) {
        this.createdate = createdate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "Inspection{" +
        "rowguid=" + rowguid +
        ", projectguid=" + projectguid +
        ", name=" + name +
        ", createdate=" + createdate +
        ", version=" + version +
        ", isdel=" + isdel +
        "}";
    }
}
